<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%-- 静态包含 --%>
<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员注册-有点</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript">
    function delete1(){
    	var res=window.confirm("您确定要删除吗？");
    	return res;
    }
</script>
</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="#">首页</a>&nbsp;-&nbsp;<a
					href="#">汽车管理</a>&nbsp;-</span>&nbsp;查询汽车信息
			</div>
		</div>
		<div class="page">
			<!-- user页面样式 -->
			<div class="connoisseur">
				<div class="conform">
					<form  action="${rootPath}/querycar.html" method="post">
						<div class="cfD">
							<input name="number" class="userinput vpr" type="text" placeholder="输入车号" />
							<input name="color" class="userinput vpr" type="text" placeholder="输入颜色" />&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<br /><br /><br />
							<input name="ctype" class="userinput vpr" type="text" placeholder="输入型号" />
							<input name="price" class="userinput vpr" type="text" placeholder="输入价值" />&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<br /><br /><br />
							<input name="rentprice" class="userinput vpr" type="text" placeholder="输入租金" />
							<input name="deposit" class="userinput vpr" type="text" placeholder="输入价值" />&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<br /><br /><br />
							<select>
							<option>未出租</option>
							<option>已出租</option>
							</select>
							<button type="submit" class="userbtn">查询</button>
						</div>
					</form>
				</div>
				<!-- user 表格 显示 end-->
			</div>
			<!-- user页面样式end -->
		</div>
		<div class="conShow">
				<table border="1" cellspacing="0" cellpadding="0">
					<tr>
						<td width="66px" class="tdColor tdC">序号</td>
						<td width="355px" class="tdColor">车号</td>
						<td width="260px" class="tdColor">颜色</td>
						<td width="275px" class="tdColor">价格</td>
						<td width="290px" class="tdColor">租金</td>
						<td width="290px" class="tdColor">押金</td>
						<td width="290px" class="tdColor">租用情况</td>
						<td width="130px" class="tdColor">操作</td>
					</tr>
					<c:forEach items="${requestScope.carList}" var="cars" varStatus="stat">
					<tr>
						<td width="66px" class="tdColor tdC">${stat.count}</td>
						<td width="355px" class="tdColor">${cars.number}</td>
						<td width="260px" class="tdColor">${cars.color}</td>
						<td width="275px" class="tdColor">${cars.price}</td>
						<td width="290px" class="tdColor">${cars.rentprice}</td>
						<td width="290px" class="tdColor">${cars.deposit}</td>
						<td width="290px" class="tdColor">${cars.statusStr}</td>
						<td><a href="${rootPath }/deletecars.html?number=${cars.number}" onclick='return delete1()'> <img class="operation delban"
							src="img/delete.png"></td></a>
					</tr>
					</c:forEach>
				</table>
				<div class="paging">此处是分页</div>
			</div>
	</div>
</body>
</html>